import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询用户列表
export function listNjtUserRegister(query) {
  return request({
    url: '/nongjt/userRegister/list',
    method: 'get',
    params: query
  })
}

export function updateNjtUserRegister(data) {
  return request({
    url: '/nongjt/userRegister',
    method: 'put',
    data: data
  })
}
// 删除单条记录
export function deleteNjtUserRegister(id) {
  return request({
    url: `/nongjt/userRegister/${id}`,
    method: 'delete'
  })
}

